/* ==========================================================================
   HUMBLE SERVANT INTERNATIONAL - MODERN NGO STYLESHEET
   ========================================================================== */

/* 1. CSS VARIABLES & RESET */
:root {
  /* Color Palette */
  --primary-green: #1e4620; /* Forest Green (growth, sustainable farming) */
  --primary-hover: #153116; /* Darker shade for buttons */
  --accent-gold: #d99116; /* Warm gold (CTAs, buttons) */
  --accent-gold-hover: #b87a10;
  --dark-charcoal: #1c221e; /* Soft dark text (more modern than pitch black) */
  --light-cream: #fbfbf8; /* Off-white editorial background */
  --pure-white: #ffffff;
  --soft-border: #e6e8e5;
  --light-gray: #f4f5f2;

  /* Font Stacks */
  --font-heading: "Inter", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;

  /* Shadows & Transitions */
  --shadow-sm: 0 2px 4px rgba(28, 34, 30, 0.05);
  --shadow-md: 0 4px 12px rgba(28, 34, 30, 0.08);
  --shadow-lg: 0 8px 24px rgba(28, 34, 30, 0.12);
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--light-cream);
  color: var(--dark-charcoal);
  line-height: 1.6;
}

/* 2. LAYOUT CONTAINER */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* 3. BUTTONS */
.btn {
  display: inline-block;
  padding: 12px 28px;
  background-color: var(--primary-green);
  color: var(--pure-white);
  text-decoration: none;
  font-weight: 600;
  border-radius: 6px;
  transition: var(--transition-smooth);
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
}

.btn:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--pure-white);
  color: var(--pure-white);
}

.btn-outline:hover {
  background-color: var(--pure-white);
  color: var(--primary-green);
}

/* ==========================================================================
   FIXED & MODERN NAVBAR STYLES
   ========================================================================== */

header {
  background-color: #ffffff !important; /* Crisp solid background so hero doesn't show through */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999 !important; /* Forces navbar above all hero layers and overlays */
  border-bottom: 1px solid rgba(135, 206, 250, 0.3);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
}

/* Logo Sizing & Display */
.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 50px;
  width: auto;
  object-fit: contain;
  display: block;
}

/* Nav Links Styling */
.nav-links {
  display: flex;
  list-style: none;
  gap: 20px;
  align-items: center;
  margin: 0;
  padding: 0;
}

.nav-links a {
  position: relative;
  color: var(--dark-charcoal, #1c221e) !important;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 8px 16px;
  border-radius: 20px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Hover & Active Pill Effect */
.nav-links a:hover,
.nav-links a.active {
  color: #ffffff !important;
  background: linear-gradient(135deg, #1e4620 0%, #153116 100%);
  box-shadow: 0 4px 12px rgba(30, 70, 32, 0.25);
  transform: translateY(-1px);
}

/* 5. HERO SECTION */
.hero {
  position: relative;
  height: 85vh;
  min-height: 550px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-slides,
.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero-slide {
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(30, 70, 32, 0.85) 0%,
    rgba(28, 34, 30, 0.7) 100%
  );
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  color: var(--pure-white);
  max-width: 800px;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero-content p {
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  opacity: 0.9;
  margin-bottom: 32px;
  max-width: 650px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
}

.hero-buttons .btn {
  background-color: var(--accent-gold);
}

.hero-buttons .btn:hover {
  background-color: var(--accent-gold-hover);
}

.hero-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 12px;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--pure-white);
  background: transparent;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.hero-dot.active {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
  transform: scale(1.2);
}

/* 6. GENERAL SECTION STYLE */
section {
  padding: 80px 0;
}

section h2 {
  font-size: clamp(2rem, 3vw, 2.5rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 24px;
  color: var(--dark-charcoal);
  letter-spacing: -0.01em;
}

/* ABOUT PREVIEW */
.about-preview {
  background-color: var(--pure-white);
  text-align: center;
}

.about-preview p {
  max-width: 800px;
  margin: 0 auto 32px;
  font-size: 1.15rem;
  color: #555c56;
}

/* 7. MISSION & VISION CARD GRID */
.mission-vision {
  background-color: var(--light-gray);
}

.mission-vision .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.mission-vision .card {
  background: var(--pure-white);
  padding: 40px;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  border-top: 5px solid var(--primary-green);
  transition: var(--transition-smooth);
}

.mission-vision .card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.mission-vision .card h2 {
  text-align: left;
  font-size: 1.75rem;
  margin-bottom: 16px;
  color: var(--primary-green);
}

/* 8. PROGRAMS PREVIEW */
.programs-preview {
  background-color: var(--pure-white);
}

.programs-preview .btn {
  display: block;
  width: max-content;
  margin: 40px auto 0;
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.program-card {
  background: var(--light-cream);
  padding: 30px;
  border-radius: 8px;
  border: 1px solid var(--soft-border);
  transition: var(--transition-smooth);
}

.program-card:hover {
  background-color: var(--pure-white);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-green);
  transform: scale(1.02);
}

.program-card h3 {
  font-size: 1.35rem;
  color: var(--primary-green);
  margin-bottom: 12px;
}

/* 9. IMPACT METRICS */
.impact {
  background-color: var(--primary-green);
  color: var(--pure-white);
  text-align: center;
}

.impact h2 {
  color: var(--pure-white);
}

.impact p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 48px;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}

.impact-card {
  background: rgba(255, 255, 255, 0.08);
  padding: 30px 20px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition-smooth);
}

.impact-card:hover {
  background: rgba(255, 255, 255, 0.15);
}

.impact-card h3 {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 800;
  color: var(--accent-gold);
  margin-bottom: 8px;
}

.impact .btn {
  background-color: var(--accent-gold);
}

.impact .btn:hover {
  background-color: var(--accent-gold-hover);
}

/* 10. TESTIMONIALS */
.testimonials {
  background-color: var(--pure-white);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.testimonial-card {
  background: var(--light-cream);
  padding: 40px;
  border-radius: 12px;
  border: 1px solid var(--soft-border);
  position: relative;
}

.testimonial-card::before {
  content: "“";
  position: absolute;
  top: 10px;
  left: 30px;
  font-size: 5rem;
  color: var(--primary-green);
  opacity: 0.15;
  font-family: Georgia, serif;
}

.testimonial-card p {
  font-style: italic;
  font-size: 1.1rem;
  color: #4a504b;
  margin-bottom: 24px;
}

.testimonial-card h4 {
  font-weight: 700;
  color: var(--dark-charcoal);
}

.testimonial-card span {
  font-size: 0.85rem;
  color: var(--primary-green);
  font-weight: 600;
}

.testimonials .btn {
  display: block;
  width: max-content;
  margin: 40px auto 0;
}

/* 11. DONATION CALL TO ACTION */
.donation-cta {
  background-color: var(--light-gray);
  text-align: center;
  border-top: 1px solid var(--soft-border);
}

.donation-cta p {
  max-width: 600px;
  margin: 0 auto 32px;
  font-size: 1.15rem;
}

.donation-cta .hero-buttons {
  justify-content: center;
}

.donation-cta .btn {
  border-color: var(--primary-green);
  color: var(--primary-green);
}

.donation-cta .btn:hover {
  background-color: var(--primary-green);
  color: var(--pure-white);
}

/* 12. FOOTER */
footer {
  background-color: var(--dark-charcoal);
  color: var(--pure-white);
  padding: 30px 0;
  text-align: center;
  font-size: 0.9rem;
  border-top: 3px solid var(--accent-gold);
}

/* 13. RESPONSIVE NAVIGATION & LAYOUTS */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    gap: 16px;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  section {
    padding: 60px 0;
  }
}

/* ==========================================================================
   ABOUT PAGE SPECIFIC STYLES
   ========================================================================== */

/* Page Hero Header */
.page-hero {
  background: linear-gradient(135deg, var(--primary-green) 0%, #153116 100%);
  color: var(--pure-white);
  padding: 80px 0;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 12px;
  font-weight: 800;
}

.page-hero p {
  font-size: 1.15rem;
  opacity: 0.9;
  max-width: 700px;
  margin: 0 auto;
}

/* Who We Are Split Grid */
.about-intro {
  background-color: var(--pure-white);
}

.about-split-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-text h2 {
  text-align: left;
  margin-bottom: 20px;
  color: var(--primary-green);
}

.about-text p {
  margin-bottom: 16px;
  color: #4a504b;
  font-size: 1.05rem;
}

.about-mv-cards {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.about-mv-cards .card {
  padding: 32px;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}

.about-mv-cards h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.bg-cream {
  background-color: var(--light-cream);
}

.border-green {
  border-left: 5px solid var(--primary-green);
}

.bg-green {
  background-color: var(--primary-green);
}

.text-white {
  color: var(--pure-white);
}

/* Core Values Section */
.core-values {
  background-color: var(--light-gray);
  text-align: center;
}

.section-subtitle {
  color: #616962;
  margin-top: -16px;
  margin-bottom: 48px;
  font-size: 1.1rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.value-card {
  background: var(--pure-white);
  padding: 32px;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  border: 1px solid var(--soft-border);
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-green);
}

.value-icon {
  font-size: 2rem;
  margin-bottom: 16px;
  color: var(--accent-gold);
}

.value-card h3 {
  margin-bottom: 12px;
  color: var(--primary-green);
  font-size: 1.25rem;
}

.value-card p {
  color: #616962;
  font-size: 0.95rem;
}

/* Where We Work */
.where-we-work {
  background-color: var(--pure-white);
  padding: 80px 0;
}

.work-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.work-content p {
  font-size: 1.1rem;
  color: #4a504b;
  line-height: 1.8;
}

/* Utility Helper */
.text-center {
  text-align: center;
}

@media (max-width: 768px) {
  .about-split-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ==========================================================================
   PROGRAMS PAGE SPECIFIC STYLES
   ========================================================================== */

.programs-section {
  background-color: var(--light-gray);
  padding: 80px 0;
}

.programs-grid-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.program-detail-card {
  background: var(--pure-white);
  padding: 40px 32px;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  border: 1px solid var(--soft-border);
  position: relative;
  overflow: hidden;
}

.program-detail-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: var(--primary-green);
  opacity: 0;
  transition: var(--transition-smooth);
}

.program-detail-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-green);
}

.program-detail-card:hover::before {
  opacity: 1;
}

.program-icon-badge {
  font-size: 2.25rem;
  width: 60px;
  height: 60px;
  background-color: var(--light-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-bottom: 24px;
}

.program-detail-card h3 {
  color: var(--primary-green);
  margin-bottom: 16px;
  font-size: 1.35rem;
  font-weight: 700;
}

.program-detail-card p {
  color: #4a504b;
  font-size: 0.98rem;
  line-height: 1.7;
}

.program-detail-card p strong,
.program-detail-card p em {
  color: var(--primary-green);
}

@media (max-width: 480px) {
  .program-detail-card {
    padding: 30px 20px;
  }
}

/* ==========================================================================
   IMPACT PAGE SPECIFIC STYLES
   ========================================================================== */

/* Impact Statistics Section */
.impact-stats-section {
  background-color: var(--light-cream);
  padding: 80px 0;
}

.stats-grid-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.stat-large-card {
  background: var(--pure-white);
  padding: 40px 24px;
  border-radius: 12px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--soft-border);
  transition: var(--transition-smooth);
}

.stat-large-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-green);
}

.stat-number {
  display: block;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--primary-green);
  margin-bottom: 8px;
  line-height: 1.1;
}

.stat-label {
  display: block;
  color: #4a504b;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
}

/* Stories / Testimonials Grid */
.stories-section {
  background-color: var(--pure-white);
  padding: 80px 0;
}

.stories-grid-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.story-editorial-card {
  background: var(--light-gray);
  padding: 48px 32px 32px;
  border-radius: 12px;
  position: relative;
  border: 1px solid var(--soft-border);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-smooth);
}

.story-editorial-card:hover {
  background-color: var(--pure-white);
  border-color: var(--primary-green);
  box-shadow: var(--shadow-md);
}

.quote-mark {
  position: absolute;
  top: 10px;
  left: 24px;
  font-size: 5rem;
  font-family: Georgia, serif;
  color: var(--primary-green);
  opacity: 0.15;
  line-height: 1;
}

.story-text {
  font-style: italic;
  font-size: 1.05rem;
  color: #4a504b;
  line-height: 1.7;
  margin-bottom: 24px;
  position: relative;
  z-index: 2;
}

.story-author-info {
  border-top: 1px solid var(--soft-border);
  padding-top: 16px;
}

.story-author-info h4 {
  color: var(--primary-green);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.story-author-info span {
  font-size: 0.85rem;
  color: #717872;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

@media (max-width: 480px) {
  .stories-grid-layout {
    grid-template-columns: 1fr;
  }
  .story-editorial-card {
    padding: 40px 20px 24px;
  }
}
/* ==========================================================================
   GET INVOLVED PAGE SPECIFIC STYLES
   ========================================================================== */

.involvement-section {
  background-color: var(--light-gray);
  padding: 80px 0;
}

.involvement-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.involve-card {
  background: var(--pure-white);
  padding: 40px 32px;
  border-radius: 12px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--soft-border);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition-smooth);
}

.involve-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-green);
}

.involve-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--primary-green);
}

.involve-card h3 {
  color: var(--primary-green);
  font-size: 1.4rem;
  margin-bottom: 16px;
  font-weight: 700;
}

.involve-card p {
  color: #4a504b;
  font-size: 0.98rem;
  line-height: 1.6;
  margin-bottom: 24px;
}

/* Highlighted Donate Card */
.involve-card.highlighted-card {
  border: 2px solid var(--accent-gold);
  background-color: var(--light-cream);
  position: relative;
}

.involve-card.highlighted-card::after {
  content: "Most Critical";
  position: absolute;
  top: 12px;
  right: 12px;
  background-color: var(--accent-gold);
  color: #1a1a1a;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

/* Helper Buttons for Cards */
.btn-sm {
  padding: 8px 18px;
  font-size: 0.9rem;
  margin-top: auto;
}

.btn-gold {
  background-color: var(--accent-gold);
  color: #1a1a1a;
  border: 1px solid var(--accent-gold);
}

.btn-gold:hover {
  background-color: transparent;
  color: var(--accent-gold);
  border-color: var(--accent-gold);
}

@media (max-width: 480px) {
  .involve-card {
    padding: 32px 20px;
  }
}

/* ==========================================================================
   CONTACT PAGE SPECIFIC STYLES
   ========================================================================== */

.contact-section {
  background-color: var(--light-gray);
  padding: 80px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}

@media (min-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
  }
}

/* Contact Info Card */
.contact-info-card {
  padding: 20px 0;
}

.contact-info-card h2 {
  color: var(--primary-green);
  font-size: 2rem;
  margin-bottom: 16px;
  font-weight: 700;
}

.contact-intro {
  color: #4a504b;
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 32px;
}

.contact-detail-items {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-detail-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.detail-icon {
  font-size: 1.6rem;
  background-color: var(--light-cream);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--soft-border);
  flex-shrink: 0;
}

.contact-detail-item strong {
  display: block;
  font-size: 1rem;
  color: var(--primary-green);
  margin-bottom: 4px;
}

.contact-detail-item p,
.contact-detail-item a {
  color: #4a504b;
  font-size: 1rem;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.contact-detail-item a:hover {
  color: var(--primary-green);
}

/* Contact Form Card */
.contact-form-card {
  background: var(--pure-white);
  padding: 40px;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--soft-border);
}

.contact-form-card h3 {
  color: var(--primary-green);
  font-size: 1.4rem;
  margin-bottom: 24px;
  font-weight: 700;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-green);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--soft-border);
  border-radius: 6px;
  background-color: var(--light-gray);
  font-size: 0.95rem;
  color: #1a1a1a;
  font-family: inherit;
  transition: var(--transition-smooth);
  box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-green);
  background-color: var(--pure-white);
  box-shadow: 0 0 0 3px rgba(37, 74, 53, 0.1);
}

.btn-full {
  width: 100%;
  text-align: center;
  padding: 14px;
  font-size: 1rem;
}

@media (max-width: 576px) {
  .contact-form-card {
    padding: 24px 20px;
  }
}

/* ==========================================================================
   GALLERY PAGE SPECIFIC STYLES
   ========================================================================== */

.gallery-section {
  padding: 80px 0;
  background-color: var(--light-gray);
}

.gallery-category {
  margin-bottom: 80px;
}

.gallery-category:last-child {
  margin-bottom: 0;
}

.gallery-category-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--soft-border);
  padding-bottom: 16px;
  margin-bottom: 16px;
}

.gallery-category-header h2 {
  color: var(--primary-green);
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0;
}

.gallery-category-desc {
  color: #4a504b;
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 800px;
}

/* Responsive Image Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background-color: var(--pure-white);
  border: 1px solid var(--soft-border);
  aspect-ratio: 4 / 3;
  transition: var(--transition-smooth);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures images crop perfectly inside the card */
  display: block;
  transition: var(--transition-smooth);
}

.gallery-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-green);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* Captions if you decide to use them on more images */
.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
  color: var(--pure-white);
  padding: 24px 16px 16px;
  font-size: 0.95rem;
  font-weight: 500;
}

/* Coming Soon Placeholder Cards */
.gallery-item-placeholder {
  grid-column: 1 / -1; /* Spans across the entire row cleanly */
  background: var(--pure-white);
  border: 2px dashed var(--soft-border);
  border-radius: 12px;
  padding: 60px 40px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.placeholder-content {
  max-width: 480px;
}

.placeholder-icon {
  font-size: 3rem;
  display: block;
  margin-bottom: 16px;
  opacity: 0.6;
}

.placeholder-content h4 {
  color: var(--primary-green);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.placeholder-content p {
  color: #717872;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* Mobile Responsiveness tweaks */
@media (max-width: 576px) {
  .gallery-category-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
  }
}

/* ==========================================================================
   FOOTER STYLES
   ========================================================================== */

footer {
  background-color: #1a201b; /* Rich deep green/dark gray */
  color: #e2e8f0;
  padding: 60px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h3 {
  color: var(--primary-green, #2e7d32);
  font-size: 1.2rem;
  margin-bottom: 20px;
  font-weight: 600;
}

.footer-logo img {
  max-width: 150px;
  height: auto;
  margin-bottom: 15px;
  border-radius: 4px;
}

.footer-tagline {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #a0aec0;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #cbd5e0;
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--primary-green, #2e7d32);
}

.footer-bottom {
  border-top: 1px solid #2d3748;
  padding-top: 20px;
  text-align: center;
  font-size: 0.9rem;
  color: #a0aec0;
}

/* 1. Global Background Tweaks to Reduce Harsh White Spaces */
body {
  background-color: #fcfdfc; /* A very soft, warm off-white tinted with a hint of green/cream */
  color: #2d3748;
}

section {
  padding: 80px 0; /* Balanced, professional spacing */
}

/* Light alternating sections to break up vertical scrolling */
.section-alt {
  background-color: #f1f7f2; /* Gentle sage-tinted cream background */
}

/* 2. Sleek Navbar Link Styling with Hover Transitions */
.nav-links a {
  position: relative;
  color: #333;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 20px;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* 3. The "Glossy" Glassmorphism Hover Effect */
.nav-links a:hover,
.nav-links a.active {
  color: #ffffff;
  background: linear-gradient(135deg, rgba(46, 125, 50, 0.85), rgba(27, 94, 32, 0.95));
  box-shadow: 
    0 4px 15px rgba(46, 125, 50, 0.3), 
    inset 0 1px 1px rgba(255, 255, 255, 0.4); /* Inner glossy light border */
  backdrop-filter: blur(4px);
  transform: translateY(-1px);
}

.partners-section {
  background-color: #ffffff;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  padding: 50px 0;
  text-align: center;
}

.partners-section h3 {
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #718096;
  margin-bottom: 35px;
}

.partners-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.partner-logo-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 160px;
  height: 80px;
  padding: 10px;
  background-color: #ffffff; /* Ensures white background behind logo */
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.partner-logo-wrapper img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

.partner-logo-wrapper:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

/* 1. Base page background: A crisp, soft light sky-blue */
body {
  background-color: #f0f7fc !important; 
}

/* 2. Alternating sections: A slightly deeper, fresh ice-blue background */
.section-alt, 
section:nth-of-type(even) {
  background-color: #e1effa !important;
}

.card, 
.gallery-item, 
.program-card {
  background: rgba(255, 255, 255, 0.7) !important; /* Semi-transparent white */
  backdrop-filter: blur(12px) !important;          /* Elegant glass blur */
  border: 1px solid rgba(135, 206, 250, 0.5) !important; /* Soft light-blue reflection border */
  box-shadow: 
    0 8px 24px rgba(0, 100, 200, 0.05),
    inset 0 1px 2px rgba(255, 255, 255, 0.8) !important; /* Top glossy light catching edge */
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.3s ease;
}

/* When hovering, cards get a bright, glossy blue glow */
.card:hover, 
.gallery-item:hover, 
.program-card:hover {
  background: rgba(255, 255, 255, 0.85) !important;
  border-color: #87cefa !important; /* Brighter sky blue outline */
  box-shadow: 
    0 12px 30px rgba(135, 206, 250, 0.25),
    inset 0 1px 3px rgba(255, 255, 255, 0.9) !important;
  transform: translateY(-6px);
}

/* 4. Headers & Navbar: Sleek translucent layout blending with the sky-blue theme */
header, 
.navbar {
  background-color: rgba(240, 247, 252, 0.9) !important;
  backdrop-filter: blur(12px);
  border-bottom: 2px solid rgba(135, 206, 250, 0.3);
}

/* Base styling for all status pills */
.status-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 20px;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.4); /* Subtle glossy inner highlight */
  transition: all 0.3s ease;
}

.status-pill.active {
  background: linear-gradient(135deg, #38bdf8 0%, #0284c7 100%) !important; /* Sky blue gradient */
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 
    0 4px 10px rgba(2, 132, 199, 0.3), 
    inset 0 1px 2px rgba(255, 255, 255, 0.5) !important;
}

.status-pill.pending {
  background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%) !important; /* Amber gradient */
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 
    0 4px 10px rgba(217, 119, 6, 0.3), 
    inset 0 1px 2px rgba(255, 255, 255, 0.5) !important;
}

/* Add a slight hover shine to the pills */
.status-pill:hover {
  transform: translateY(-1px);
  filter: brightness(1.1);
}

.partner-logo-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 220px; /* Increased from 140px/160px */
  height: 110px; /* Increased height */
  padding: 15px;
  background-color: #ffffff;
  border-radius: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.partner-logo-wrapper img {
  max-width: 100%;
  max-height: 100px; /* Forces logos to render much larger */
  width: auto;
  height: auto;
  object-fit: contain;
}

/* Ensure Mission & Vision grid flexes properly */
.mission-vision .container {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.mission-vision .card {
  flex: 1;
  min-width: 280px;
  background-color: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

/* Ensure text color stands out clearly */
.mission-vision .card h2 {
  color: #1e4620; /* Deep green accent */
  margin-bottom: 15px;
}

.mission-vision .card p {
  color: #2d3748 !important; /* Dark readable text */
  font-size: 1rem;
  line-height: 1.6;
  display: block !important;
  visibility: visible !important;
}